#ifndef OVERLAY_H
#define OVERLAY_H

#include <OGRE/Ogre.h>
#include <OGRE/Overlay/OgreOverlaySystem.h>

class Overlay
{
public:
    Overlay();
    ~Overlay();
	void ShowPause(bool p_Pause);
	void SetScore(const unsigned long &p_Score);
	void SetDebug(Ogre::String debug);

private:
	Ogre::OverlayManager* m_OverlayManager;
	Ogre::Overlay* m_Overlay;

	Ogre::Real m_PaddingLeft = 0.1;
	Ogre::Real m_PaddingTop  = 0.1;

	Ogre::OverlayContainer*  m_PlayernameContainer;
	Ogre::OverlayElement* m_PlayernameTextArea;
	void DisplayPlayername();

	Ogre::OverlayContainer*  m_ScoreContainer;
	Ogre::OverlayElement* m_ScoreTextArea;
	void DisplayScore();

	Ogre::OverlayContainer*  m_PauseContainer;
	Ogre::OverlayElement* m_PauseTextArea;
	void DisplayPause();
};

#endif // OVERLAY_H
